package org.example.leetcode.core.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhc
 * @since 2024-02-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class SysRoleResource implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 岗位id
     */
    private Long roleId;

    /**
     * 岗位类型，冗余
     */
    private String roleType;

    /**
     * 资源id
     */
    private Long resourceId;

    /**
     * 资源code，冗余
     */
    private String resourceCode;


}
